// import request from './request'
import request from './axios'

/**
 * 
 * @param {*} params phone
 * @returns 
 * sim列表
 */
export const simList = (params) => {
    return request({
        url: '/Sim',
        method: 'get',
        params
    })
}
/**
 * 
 * @param {*} params phone
 * @returns 
 * 添加sim
 */
export const simCreate = (params) => {
    return request({
        url: '/Sim/create',
        method: 'get',
        params
    })
}
/**
 * 
 * @param {*} id 
 * @returns 
 * 删除sim
 */
export const simRemove = (id) => {
    return request({
        url: `/Sim/${id}`,
        method: 'delete',
    })
}